<script setup>
import router from '../router/index'
import VideoCompo from '@renderer/components/VideoCompo.vue'

function go2path(params) {
  router.push(params)
}
</script>

<template>
  <div class="kaipianview">
    <!-- <div id="lianliankan_0bg" class="fullimg"></div> -->
    <VideoCompo :videosrc="'kaipian/kaipian_yinmu.mp4'"></VideoCompo>
    <!-- <div id="lianliankan_kaipian01wenzi" class="fullimg"></div> -->
    <div id="lianliankan_kaipian02jinru" class="fullimg"></div>
    <div id="enter" @click="go2path('/MainView')"></div>
  </div>
</template>

<style lang="scss" scoped>
.kaipianview {
  width: 100vw;
  height: 56.25vw;
  position: relative;
  z-index: 0;
  .fullimg {
    width: 100vw;
    height: 56.25vw;
    position: absolute;
    left: 0;
    top: 0;
  }
  #lianliankan_0bg {
    background: url(/lianliankan_0bg.jpg) no-repeat;
    background-size: 100vw 56.25vw;
    background-position: center;
    z-index: 1;
  }
  #lianliankan_kaipian01wenzi {
    // background: url(kaipian/lianliankan_kaipian01wenzi.png) no-repeat;
    // background-size: 100vw 56.25vw;
    // background-position: center;
    z-index: 2;
  }
  #lianliankan_kaipian02jinru {
    background: url(/kaipian/lianliankan_kaipian02jinru.png) no-repeat;
    background-size: 100vw 56.25vw;
    background-position: center;
    z-index: 3;
    border: 0px solid red;
  }
  #enter {
    width: 8vw;
    height: 5vw;
    position: absolute;
    left: 46.7vw;
    top: 4.5vw;
    z-index: 9;
    border: 0px solid red;
  }
}
</style>
